
class Person():

    def __init__(self,a=100,b=160,c=30):
        self.__height=a
        self.__weigh=b
        self.__age=c

    def get_height(self):
        return self.__height
    def get_weigh(self):
        return self.__weigh
    def get_age(self):
        return self.__age

    def set_height(self,a):
        self.__height=a

    def set_weigh(self,b):
        self.__weigh=b

    def set_age(self,c):
        self.__age=c


    def eat(self):
        print("eat")

    def run(self):
        print("run")

    def speak(self):
        print("speak")

class Car():
    make='aodi'
    model='a4'
    year=2020

    def run(self):
        print("car再跑")


def p():
    person=Person()
    person.set_height(11111)
    print(person.get_height())


if __name__=="__main__":
   p()
